const apiUrl = process.env.NODE_ENV === 'production'
  ? 'https://api-crmboss.yxt.com/v1/'
  : 'https://devinner.yunxuetang.com.cn/crmapi/'

const componentUrl = process.env.NODE_ENV === 'production'
  ? 'https://api-component.yxt.com/v1/'
  : 'https://devinner.yunxuetang.com.cn/componentapi/v1/'

const ompUrl = process.env.NODE_ENV === 'production'
  ? 'https://api-omp.yxt.com/v1/'
  : 'https://devinner.yunxuetang.com.cn/ompapi/v1/'

const imageBaseUrl = process.env.NODE_ENV === 'production'
  ? 'https://picobd-bbs.yxt.com/'
  : 'https://picobd-bbs-test.yxt.com/test/'

const oaUrl = process.env.NODE_ENV === 'production'
  ? 'http://oa.yxt.com/'
  : 'http://oatest.yxt.com:8010/'

export {apiUrl, componentUrl, ompUrl, imageBaseUrl, oaUrl}
